package com.zhangtai.modules.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class CredentialInfoDto {

    /**
     *
     */
    @TableId
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)

    private Long id;
    /**
     *
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long oid;
    /**
     *
     */
    @ApiModelProperty("证书编号")
    private String credentialNo;
    /**
     *
     */
    @ApiModelProperty("管理编号")
    private String mangerNo;
    /**
     * 授予时间
     */
    @ApiModelProperty("授予时间")
    private Date startTime;
    /**
     * 到期时间
     */
    @ApiModelProperty("到期时间")
    private Date endTime;
    /**
     * 证书级别
     */
    @ApiModelProperty("证书级别")
    private String credentialLevel;
    /**
     * 职称系列
     */
    @ApiModelProperty("职称系列")
    private String jobSeries;
    /**
     * 资格名称
     */
    @ApiModelProperty("资格名称")
    private String credentialName;
    /**
     * 专业
     */
    @ApiModelProperty("专业")
    private String profession;
    /**
     * 批准机关
     */
    @ApiModelProperty("批准机关")
    private String approvalAuthority;
    /**
     * 注册单位
     */
    @ApiModelProperty("注册单位")
    private String registerOrg;
    /**
     * 是否年审
     */
    @ApiModelProperty("是否年审")
    private Integer isAudit;
    /**
     *
     */
    @ApiModelProperty("文件url")
    private String fileUrl;
    /**
     *
     */
    private Integer isDelete;
    /**
     * 审核状态 0：未审核 1：已审核 2：拒绝
     */
    @ApiModelProperty("审核状态 0：未审核 1：已审核 2：拒绝")
    private Integer status;
    /**
     * 挂证状态 0：未挂证 1：审核中 2：审核通过
     */
    @ApiModelProperty("挂证状态  0：未审核  1：审核中 2：已审核 3：拒绝 4：员工解除 5hr解除")
    private Integer hangStatus;
    @ApiModelProperty("身份证号")
    private String idcard;
    @ApiModelProperty("性别 1：男 2：女")
    private String gender;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("生日")
    private String birthday;
    @ApiModelProperty("补贴金额")
    private BigDecimal allowance;
    @ApiModelProperty("补贴发放时间")
    private Date allowanceTime;
    private Long jobId;
    private String jobName;
    private Long companyId;
    private Long unitId1;
    private String unitName;
    private Long orgId;
    private String orgName;
    @ApiModelProperty("资质原因")
    private String reason;
    @ApiModelProperty("挂证原因")
    private String hangReason;
    @ApiModelProperty("挂证解除文件url")
    private String hangFileUrl;
    @ApiModelProperty("挂证id")
    private Long hangId;
    @ApiModelProperty("bpmUrl")
    private String bpmUrl;
    @ApiModelProperty("hangBpmUrl")
    private String hangBpmUrl;

}
